package com.powerbank.usercenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 用户中心微服务启动类
 */
@SpringBootApplication(scanBasePackages = {"com.powerbank.usercenter", "com.powerbank.common"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.powerbank.common.client", "com.powerbank.usercenter.client"})
public class UserCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class, args);
    }
}